regexp/syntax.parser.flags (field)
28 uses
regexp/syntax (current package)
parse.go#L127: flags Flags // parse mode flags
parse.go#L298: if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) {
parse.go#L303: re.Flags = p.flags &^ FoldCase
parse.go#L313: if p.maybeConcat(re.Rune[0], p.flags|FoldCase) {
parse.go#L320: re.Flags = p.flags | FoldCase
parse.go#L371: re.Flags = p.flags
parse.go#L372: if p.flags&FoldCase != 0 {
parse.go#L399: re.Flags = p.flags
parse.go#L408: flags := p.flags
parse.go#L409: if p.flags&PerlX != 0 {
parse.go#L923: p.flags = flags
parse.go#L937: if p.flags&PerlX != 0 && len(t) >= 2 && t[1] == '?' {
parse.go#L958: if p.flags&OneLine != 0 {
parse.go#L965: if p.flags&OneLine != 0 {
parse.go#L972: if p.flags&DotNL != 0 {
parse.go#L1018: if p.flags&PerlX != 0 && len(t) >= 2 {
parse.go#L1056: re.Flags = p.flags
parse.go#L1194: flags := p.flags
parse.go#L1243: p.flags = flags
parse.go#L1428: p.flags = re2.Flags
parse.go#L1582: if p.flags&PerlX == 0 || len(s) < 2 || s[0] != '\\' {
parse.go#L1614: if p.flags&FoldCase == 0 {
parse.go#L1659: if p.flags&UnicodeGroups == 0 || len(s) < 2 || s[0] != '\\' || s[1] != 'p' && s[1] != 'P' {
parse.go#L1705: if p.flags&FoldCase == 0 || fold == nil {
parse.go#L1734: re.Flags = p.flags
parse.go#L1744: if p.flags&ClassNL == 0 {
parse.go#L1754: if t != "" && t[0] == '-' && p.flags&PerlX == 0 && !first && (len(t) == 1 || t[1] != ']') {
parse.go#L1806: if p.flags&FoldCase == 0 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |